home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 November / CMCD1104.ISO / Software / Freeware / Grafica / galeroo / Setup Galleroo 3.4.exe / {app} / styles / Misgarot / gallery.xsl
Extensible Markup Language  |  2004-05-27  |  6KB  |  116 lines

  1. <?xml version='1.0'?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3.                 xmlns:exsl="http://exslt.org/common" 
  4.                 xmlns:func="http://exslt.org/functions"
  5.                 xmlns:dyn="http://exslt.org/dynamic"
  6.                 xmlns:math="http://exslt.org/math"
  7.                 xmlns:str="http://exslt.org/strings"
  8.                 xmlns:g="."
  9.                 xmlns:galleroo="."
  10.                 extension-element-prefixes="dyn func exsl math str g galleroo" 
  11.                 version='1.1'>
  12. <xsl:include href="../Lib/galleroo.xsl" />
  13. <xsl:output method="html" /> 
  14.  
  15. <!-- doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" indent="yes" -->
  16.  
  17. <!-- Galleroo Misgarot XSL XML->HTML stylesheet 1.0
  18.      Copyright 2003-2004, all rights reserved, xyster.net
  19.      written:     11/9/03
  20.      modified:  
  21.      author:     xyster
  22. -->
  23.  
  24. <xsl:param name="title">Photo Gallery</xsl:param>
  25. <xsl:param name="sub-title" />
  26. <xsl:param name="text-color">#000000</xsl:param>
  27. <xsl:param name="nav-background-color">#FFFFFF</xsl:param>
  28. <xsl:param name="slide-background-color">#FFFFFF</xsl:param>
  29. <xsl:param name="link-color">#000066</xsl:param>
  30. <xsl:param name="visited-link-color">#990099</xsl:param>
  31. <xsl:param name="active-link-color">#FF0000</xsl:param>
  32. <xsl:param name="sort-by">date</xsl:param>
  33. <xsl:param name="thumb-size">75</xsl:param>
  34. <xsl:param name="html-file-prefix" />
  35. <xsl:param name="do-auto-play-movies">no</xsl:param>
  36. <xsl:param name="nav-background-image" />
  37. <xsl:param name="slide-background-image" />
  38. <xsl:param name="nav-alignment">left</xsl:param>
  39. <xsl:param name="custom-css-file" />
  40. <xsl:param name="font" />
  41.  
  42. <xsl:param name="_preview">0</xsl:param>
  43.  
  44. <xsl:template match="list">
  45.     
  46.     <!-- nav css -->
  47.     <xsl:call-template name="gal-emit-css-file">
  48.         <xsl:with-param name="name" select="'index'" />
  49.         <xsl:with-param name="html-file-prefix" select="$html-file-prefix" />
  50.         <xsl:with-param name="background-image" select="$nav-background-image" />
  51.         <xsl:with-param name="background-color" select="$nav-background-color" />
  52.         <xsl:with-param name="font" select="$font" />
  53.         <xsl:with-param name="text-color" select="$text-color" />
  54.         <xsl:with-param name="link-color" select="$link-color" />
  55.         <xsl:with-param name="active-link-color" select="$active-link-color" />
  56.         <xsl:with-param name="visited-link-color" select="$visited-link-color" />
  57.     </xsl:call-template>
  58.     
  59.     <!-- slide css -->
  60.     <xsl:call-template name="gal-emit-css-file">
  61.         <xsl:with-param name="name" select="'slide'" />
  62.         <xsl:with-param name="html-file-prefix" select="$html-file-prefix" />
  63.         <xsl:with-param name="background-image" select="$slide-background-image" />
  64.         <xsl:with-param name="background-color" select="$slide-background-color" />
  65.         <xsl:with-param name="font" select="$font" />
  66.         <xsl:with-param name="text-color" select="$text-color" />
  67.         <xsl:with-param name="link-color" select="$link-color" />
  68.         <xsl:with-param name="active-link-color" select="$active-link-color" />
  69.         <xsl:with-param name="visited-link-color" select="$visited-link-color" />
  70.     </xsl:call-template>
  71.                
  72.      <!-- frameset -->
  73.        <xsl:call-template name="gal-emit-frameset">
  74.         <xsl:with-param name="preview" select="$_preview" />
  75.         <xsl:with-param name="title" select="$title" />
  76.         <xsl:with-param name="sub-title" select="$sub-title" />
  77.         <xsl:with-param name="nav-alignment" select="$nav-alignment" />
  78.         <xsl:with-param name="sort-by" select="$sort-by" />
  79.         <xsl:with-param name="thumb-size" select="$thumb-size" />
  80.         <xsl:with-param name="padding" select="40" />
  81.         <xsl:with-param name="html-file-prefix" select="$html-file-prefix" />
  82.     </xsl:call-template>
  83.     
  84.     <!-- initial blank page -->
  85.     <xsl:call-template name="gal-emit-blank-slide">
  86.         <xsl:with-param name="title" select="$title" />
  87.         <xsl:with-param name="sub-title" select="$sub-title" />
  88.         <xsl:with-param name="css-name" select="'slide'" />
  89.         <xsl:with-param name="custom-css-file" select="$custom-css-file" />
  90.         <xsl:with-param name="html-file-prefix" select="$html-file-prefix" />
  91.     </xsl:call-template>
  92.     
  93.     <!-- nav bar -->
  94.     <xsl:call-template name="gal-emit-nav-bar">
  95.         <xsl:with-param name="alignment" select="$nav-alignment" />
  96.         <xsl:with-param name="sort-by" select="$sort-by" />
  97.         <xsl:with-param name="css-name" select="'index'" />
  98.         <xsl:with-param name="custom-css-file" select="$custom-css-file" />
  99.         <xsl:with-param name="html-file-prefix" select="$html-file-prefix" />
  100.     </xsl:call-template>
  101.     
  102.     <!-- generate the picture pages -->
  103.     <xsl:call-template name="gal-emit-simple-slides">
  104.         <xsl:with-param name="pix" select="media/object/children/object/children/object" />
  105.         <xsl:with-param name="title" select="$title" />
  106.         <xsl:with-param name="sub-title" select="$sub-title" />
  107.         <xsl:with-param name="css-name" select="'slide'" />
  108.         <xsl:with-param name="custom-css-file" select="$custom-css-file" />
  109.         <xsl:with-param name="do-auto-play-movies" select="$do-auto-play-movies" />
  110.         <xsl:with-param name="html-file-prefix" select="$html-file-prefix" />
  111.     </xsl:call-template>
  112.             
  113. </xsl:template>
  114.  
  115. </xsl:stylesheet>
  116.